package com.baili.app.ycbl

import com.baili.app.ycbl.plugin.gensee.GenseeLivePlugin
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine

class MainActivity: FlutterActivity() {
    override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
        super.configureFlutterEngine(flutterEngine)
        registerSelfPlugin(flutterEngine)
    }

    //注册自定义的 plugin
    private fun registerSelfPlugin(flutterEngine: FlutterEngine) {
        flutterEngine.plugins.add(GenseeLivePlugin())
    }
}
